package com.probiz.estore.product.service.impl;

import com.probiz.estore.common.model.product.ProductRateValue;
import com.probiz.estore.core.service.impl.GenericManagerImpl;
import com.probiz.estore.product.dao.ProductRateValueDao;
import com.probiz.estore.product.service.ProductRateValueManager;


/**
 * Manager implementation for ProductRateValue, responsible for business processing, and communicate between web and persistence layer.
 */
public class ProductRateValueManagerImpl extends GenericManagerImpl<ProductRateValue> implements ProductRateValueManager {

	private ProductRateValueDao productRateValueDao = null;

	/**
	 * @param productRateValueDao
	 *            the productRateValueDao to set
	 */
	public void setProductRateValueDao(ProductRateValueDao productRateValueDao) {
		this.productRateValueDao = productRateValueDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#init()
	 */
	@Override
	protected void initManager() {
		dao = productRateValueDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preDelete(java.lang.Object)
	 */
	@Override
	protected void preDelete(ProductRateValue entity) {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preSave(java.lang.Object)
	 */
	@Override
	protected void preSave(ProductRateValue entity) {

	}

}
